from __future__ import annotations
from typing import List

from .attrs import ShipAttrs
from .state import ShipState
from .gear_interface import GearInterface


class Ship:
    def __init__(self,attrs:ShipAttrs,gear_interfaces:List[GearInterface],state:ShipState):
        self._attrs = attrs
        self._gear_interfaces = gear_interfaces
        self._state = state

    @property
    def attrs(self):
        return self._attrs

    @property
    def gear_interfaces(self):
        return self._gear_interfaces

    @property
    def state(self):
        return self._state
